import React, { Component } from 'react'
import Home from '../pages/Home';
import About from '../pages/About';
import {Route, NavLink, Redirect} from 'react-router-dom';
import MyNavLink from '../MyNavLink';
// import YinyueG from '../pages/YinYueG'
// import MineMuscic from '../pages/MineMusic';
import Hero from '../Hero';
import HeroDetail from '..//HeroDetail';
export default class App extends Component {
    render() {
        return (
               <div>
                   <Route path="/hero" component={Hero}/>
                   <Route path="/hero-detail/:id" component={HeroDetail}/>
               </div>  
           
        )
    }
}
